package com.team.student.mapper;

import com.team.student.entity.Stu;
import com.team.student.entity.StuCondition;
import com.team.student.entity.StuExample;
import java.util.List;

public interface StuMapper {
    int deleteByPrimaryKey(Integer studentno);

    int insert(Stu record);

    int insertSelective(Stu record);

    List<Stu> selectByExample(StuExample example);

    Stu selectByPrimaryKey(Integer studentno);

    int updateByPrimaryKeySelective(Stu record);

    int updateByPrimaryKey(Stu record);

    List<Stu> getAllStuAndGrade();

    int delStuByGradeid(Integer gradeid);

    List<Stu> selectStuAndGrade(StuCondition stuCondition);
}